package com.mali.backendcommon.util;

import com.google.common.hash.BloomFilter;
import com.google.common.hash.Funnels;
import lombok.Data;

/**
 * @Author:吴键霏
 * @Date：2024/6/20 20:19
 * @Version 1.0
 */

public class BloomUtil {
   private static final int _1M=10000;
    private static final int size=_1M*100;
    private static double fpp=0.03;
    public static final BloomFilter<Long> bloomFilter=BloomFilter.create(Funnels.longFunnel(),size,fpp);
}
